package com.itheima.web.service.impl.pms;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.service.pms.PmsProductFullReductionService;
import com.itheima.vo.pms.PmsProductFullReduction;
import com.itheima.web.mapper.pms.PmsProductFullReductionMapper;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class PmsProductFullReductionServiceImpl extends ServiceImpl<PmsProductFullReductionMapper, PmsProductFullReduction> implements PmsProductFullReductionService {

    @Autowired
    private PmsProductFullReductionMapper ppfrMapper;

    @Override
    public List<PmsProductFullReduction> getByProductId4(Integer id) {
        return ppfrMapper.getByProductId4(id);
    }
}
